public class StandardDeviation {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		java.io.PrintStream o = System.out;
		int buckets=20;
		int [] outs = new int[buckets];
		for(int i = 0; i<buckets*buckets;i++)
		{
			outs[Math.round(gauss(100,15)-85)] +=1;
		}
		for(int i= 0;i<buckets;i++)
		{
			o.println(i+":\t"+Utils.repeatStr("#", outs[i]));
		}
	}

	public static float gauss(float average, float std) {
		int out = 0;
		int repeats=1000;
		for (int i = 0; i < repeats; i++) {
			if (Math.random()<.5) ++out  ;
		}
		return (float) (((float)out/repeats-.5)*std +average);
	}

}
